import Taro, { Component } from '@tarojs/taro'
import { View, Text,Image, Input } from '@tarojs/components'
import './index.less'
import balance from '../../img/balance.png'

export default class Balance extends Component {

  config = {
    navigationBarTitleText: '余额',
  }


  // componentWillMount () { }

  // componentDidMount () { }

  // componentWillUnmount () { }

  // componentDidShow () { }

  // componentDidHide () { }

  render () {
    const data = {
      balance:888
    }
    return (
      <View className='index'>
        <Image src={balance}  className='balanceImg' />
        <Text className='my-balance'>我的余额</Text>
        <Text className='balance-number'>￥{data.balance}</Text>
        <View className='withdrawal-box'>
          <Text className='withdrawal'>提现</Text>
        </View>
      </View>
    )
  }
}

